<?php

namespace App\Admin\Controllers\family;

use App\Models\UsersDonationRecord;
use Dcat\Admin\Grid;
use Dcat\Admin\Http\Controllers\AdminController;

class ListController extends AdminController
{
    protected $title = "家庭基金列表";

    protected $translation = 'admin-family-list';

    /**
     * Make a grid builder.
     *
     * @return Grid
     */
    protected function grid()
    {
        return Grid::make(UsersDonationRecord::with(['users','manager']), function (Grid $grid) {

        });
    }
}
